<?php

$area = $_REQUEST["area"];
$section = $_REQUEST["section"];


$src = "{$_SERVER["DOCUMENT_ROOT"]}/media/{$area}/{$section}/{$_REQUEST["src"]}";

if(unlink($src)) echo "media deleted";
else echo "unable to delete media";
?>
